package com.banksoft.admin.service.impl;

import com.banksoft.admin.dao.DictionaryDao;
import com.banksoft.admin.entity.Dictionary;
import com.banksoft.admin.service.DictionaryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by vanjoger on 2017/3/18.
 */
@Service
public class DictionaryServiceImpl implements DictionaryService {

    @Autowired
    DictionaryDao dictionaryDao;


    @Override
    public List<Dictionary> findByType(String type) {
        return this.dictionaryDao.findByType(type);
    }
}
